package com.iwhalecloud.bss.kite.cucc.service.attr.handler;

import com.iwhalecloud.bss.kite.cucc.common.constant.LocalKeyConsts;
import com.iwhalecloud.bss.kite.manager.inst.KiteAttr;
import com.iwhalecloud.bss.kite.manager.inst.KiteInst;
import com.iwhalecloud.bss.kite.service.attr.AttrData;
import com.iwhalecloud.bss.kite.service.attr.handler.AbstractAttrHandler;
import com.ztesoft.bss.common.util.ContextUtil;

public class InternetAccoPwdAttrHandler extends AbstractAttrHandler {
    @Override
    public void after(KiteAttr attr, KiteInst inst, AttrData data) {
        // 只辽宁 展示上网账号  上网密码
        String provinceCode = ContextUtil.getLoginInfo().getUserInfo().getPostProvinceNbr();
        if (LocalKeyConsts.PROVINCE_LIAONING.equals(provinceCode)) {
            attr.setShowType("D");
        }
        super.after(attr, inst, data);
    }
}
